@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${computerManage.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="itemname" name="名称" underline="true" value="${computerManage.itemname}"/>
                    <#select id="pid" name="分类" underline="true"  >
                    <option value="${computerType.id}" hidden="${computerType.id}">${computerType.name}</option>
                    @for(computerType in list){
                    @if(computerManage.pid !=computerType.id){
                    <option value="${computerType.id}">${computerType.name}</option>
                    @}
                    @}
                </#select>
                <#input id="title" name="标题" value="${computerManage.title}" />
                <#input id="pictureUrl" name="图片路径" value="${computerManage.pictureUrl}"/>
                </div>

                <div class="col-sm-6">

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ComputerManageInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ComputerManageInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/computerManage/computerManage/computerManage_info.js"></script>
@}
